<!--
 * @Author: vectorwings
 * @Email: vectorwings@163.com
 * @GitHub: https://github.com/vector-wings/
 * @Company: Copyright 2019 HuaZhuTech, Inc.
 * @Date: 2019-10-21 16:21:43
 * @LastEditors: vectorwings
 * @LastEditTime: 2019-10-21 17:35:45
 * @Description:
 -->
<template>
  <div id="hompage">
    <router-view/>
  </div>
</template>

<script>
  export default {
    name: "Home",
    data() {
      return {
        api: {
          getWXAuthorizationApi: '/safety/getSignature',
          sshApi: ''
        }
      }
    },
    created() {
      //this.getWXAuthorization()
    },
    methods: {

    }

  };
</script>

<style lang="scss">
  #hompage {
    font-family: "Avenir", Helvetica, Arial, "Microsoft YaHei", "PingFang SC";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    color: #2c3e50;
    font-size: 0.14rem;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    //background-color:#fff;
    background: rgba(248, 248, 248, 1);
  }

  //定制样式
  .primaryColor{
    color:#0080cb;
  }
  .lan-toast {
    z-index: 10000000000000000000;
  }

  .lan-close-btn {
    background-color: transparent;
    color: #fff !important;
    box-shadow: none !important;
    font-weight: bold;
  }

  .lan-loadmore-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
  }

  .mu-appbar.lan-header {
    height: 0.45rem !important;
    width: 100%;
    //   定制的
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.04),
    0 1px 1px 0 rgba(0, 0, 0, 0.04), 0 1px 10px 0 rgba(0, 0, 0, 0.04);
    .mu-appbar-left {
      font-size: 0.17rem;
      white-space: nowrap;
      .lan-header-back{
        font-size:0.16rem;
      }
      .mu-icon-button{
        width:auto !important;
      }
    }
    .mu-appbar-right {
      width:84px;
      justify-content: space-around;
      .iconfont {
        font-size: 0.2rem;
      }
      .text {
        font-size: 0.17rem;
        white-space: nowrap;
        color: #0080cb;
      }
    }
    .mu-appbar-title {
      text-align: center;
      font-size: 0.19rem !important;
      font-weight: 500;
      line-height: 0.45rem !important;
      flex: none;
      width: calc(100% - 165px);
    }
  }

  .mu-appbar.lan-header.right-all {
    .mu-appbar-title {
      text-align: center;
      font-size: 0.19rem !important;
      font-weight: 500;
      line-height: 0.45rem !important;
      flex: 1;
    }
  }

  .mu-appbar.lan-header.no-shadow {
    box-shadow: none;
  }

  .has-shadow {
    margin-bottom: 3px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.04),
    0 1px 1px 0 rgba(0, 0, 0, 0.04), 0 1px 10px 0 rgba(0, 0, 0, 0.04);
  }

  .flex_s {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .flex_r {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .flex_b {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .flex_e {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .flex_c {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flex-column {
    flex-direction: column;
  }

  .full-width {
    width: 100%;
  }

  .no-margin {
    margin: 0 !important;
  }

  .float-left {
    float: left;
  }

  .float-right {
    float: right
  }

  .normal-font-size {
    font-size: 0.15rem;
  }

  .lan-block-btn {
    height: 0.44rem !important;
    .mu-button-wrapper {
      font-size: 0.17rem;
    }
  }

  .lan-block-btn-line {
    width: 100%;
    padding: 0.12rem 0.14rem 0.2rem 0.14rem;
    background-color: #fff;
  }

  .lan-loadmore-content {
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 0.15rem;
    background: #fff;
    .mu-appbar {
      width: 100%;
    }
    .nodataTips {
      margin: 0;
      text-align: center;
      color: #b1b1b1;
      font-size: 0.12rem;
    }
    .lan-nodata {
      width: 1.77rem;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      .nodataImg {
        height: 1.92rem;
        width: 100%;
      }
      .nodataText {
        font-size: 0.15rem;
        text-align: center;
        color: #aaa49f;
        margin: 0.15rem 0;
      }
    }
  }

  .lan-loadmore-content.no-padding {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .lan-detail {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0.04rem 0;
    font-size: 0.15rem;
    .lan-detail-h {
      color: #8c8c8c;
      margin-right: 7px;
    }
    .lan-detail-r {
      color: #3d3d3d;
    }
  }

  .lan-detail-list {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 0.55rem;
    font-size: 0.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
    box-shadow: 0px 1px 0px 0px rgba(224, 224, 224, 1);
    .lan-detail-h {
      color: #3d3d3d;
    }
    .lan-detail-r {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
      color: #8c8c8c;
      text-align: right;
    }
    .lan-detail-list-box {
      margin-bottom: 0.1rem;
      .lan-detail-h {
        color: #3d3d3d;
        line-height: 0.5rem;
      }
    }
  }

  .lan-dialog {
    .mu-dialog-body {
      height: 100%;
      display: flex;
      flex-direction: column;
      .lan-dialog-body {
        background-color: #fff;
        flex: 1;
        box-sizing: border-box;
        padding: 0.15rem;
      }
      .lan-dialog-body.no-padding {
        padding: 0;
      }
    }
    .lan-dialog-body {
      padding: 0;
      height: 100%;
      position: relative;
      .lan-dialog-sumit {
        bottom: 0;
        width: 100%;
        left: 0;
        position: absolute;
        background-color: #fff;
      }
    }
  }

  .lan-loadmore-content.no-padding {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lan-detail {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0.04rem 0;
    font-size: 0.15rem;
    .lan-detail-h {
      color: #8C8C8C;
      margin-right: 7px;
    }
    .lan-detail-r {
      color: #3D3D3D;
    }
  }

  .lan-detail-over {
    width: 100%;
    margin: 0.04rem 0;
    font-size: 0.15rem;
    .lan-detail-h {
      color: #8C8C8C;
      margin-right: 7px;
    }
    .lan-detail-r {
      color: #3D3D3D;
    }
  }

  .lan-detail-list {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 0.55rem;
    font-size: 0.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
    box-shadow: 0px 1px 0px 0px rgba(224, 224, 224, 1);
    .lan-detail-h {
      color: #3D3D3D;
    }
    .lan-detail-r {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
      color: #8C8C8C;
      text-align: right;
      margin-left: 10px;
    }
    .lan-detail-list-box {
      margin-bottom: 0.1rem;
      .lan-detail-h {
        color: #3D3D3D;
        line-height: 0.5rem;
      }
    }
  }

  .lan-dialog {
    .mu-dialog-body {
      height: 100%;
      display: flex;
      flex-direction: column;
      .lan-dialog-body {
        background-color: #fff;
        flex: 1;
        box-sizing: border-box;
        padding: 0.15rem;
      }
      .lan-dialog-body.no-padding {
        padding: 0;
      }
    }
    .lan-dialog-body {
      padding: 0;
      height: 100%;
      position: relative;
      overflow-y: auto;
      .lan-dialog-sumit {
        bottom: 0;
        width: 100%;
        left: 0;
        position: absolute;
      }
    }
  }

  .mint-indicator {
    position: relative;
    z-index: 1000000000;
  }

  .lan-popover-select {
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    max-height: 100% !important;
    max-width: 100% !important;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .4) !important;
    transform-origin: bottom !important;
    .mu-list {
      max-height: 300px;
      position: absolute;
      bottom: 0;
      background-color: #fff;
      .mu-item-title {
        font-size: 0.15rem;
        text-align: center;
      }
    }
    .mu-option.is-selected .mu-item {
      color: #0080cb;
    }
  }

  .lan-card.mu-paper {
    box-sizing: border-box;
    padding: .1rem;
    width: 97%;
    margin: 0 auto;
    margin-bottom: 10px;
    box-shadow: 0rem 0.02rem 0.08rem 0rem rgba(182, 182, 182, 0.4);
    border-radius: 0.04rem;
  }

  .lan-card.mu-paper.no-padding {
    padding: 0;
    .lan-card-header {
      padding: 0 0.16rem;
    }
    .lan-card-body {
      padding: 0.2rem 0.16rem;
    }
    .lan-card-body.no-bottom-padding {
      padding: 0.2rem 0.16rem 0 0.16rem;
    }
  }

  .lan-card-header {
    height: 0.39rem;
    border-bottom: 0.005rem solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .lan-card-footer {
    height: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.06rem 0.16rem;
  }

  .lan-btn.big {
    height: 0.26rem;
    line-height: 0.18rem;
    border-radius: 0.04rem;
    font-size: 0.13rem;
    padding: .05rem 0.09rem;
    min-width: 0.84rem;
  }

  .lan-btn {
    height: 0.21rem;
    min-width: 0.6rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.11rem;
    line-height: 0.16rem;
    padding: 0 0.08rem;
  }

  .lan-btn + .lan-btn {
    margin-left: 0.1rem;
  }

  .lan-btn.circle {
    border-radius: 0.45rem;
  }

  .lan-btn.danger {
    background-color: #FC334E;
    color: #fff;
  }

  .lan-btn.warning {
    background-color: #FF781B;
    color: #fff;
  }

  .lan-btn.default {
    background-color: #2196f3;
    color: #fff;
  }

  .lan-btn.success {
    background-color: #389D2B;
    color: #fff;
  }

  .lan-btn.normal {
    background-color: #E0E0E0;
    color: #8C8C8C;
  }

  .no-bg {
    font-size: .13rem;
    line-height: .18rem;
  }

  .no-bg.danger {
    background-color: #fff;
    color: #FC334E;
  }

  .no-bg.warning {
    background-color: #fff;
    color: #FF781B;
  }

  .no-bg.default {
    background-color: #fff;
    color: #2196f3;
  }

  .no-bg.normal {
    background-color: #fff;
    color: #8C8C8C;
  }

  .no-bg.success {
    background-color: #fff;
    color: #389D2B;
  }

  .has-border.danger {
    color: #FC334E;
    border: 1px solid #FC334E;
    background-color: #fff;
  }

  .has-border.warning {
    border: 1px solid #FF781B;
    color: #FF781B;
    background-color: #fff;
  }

  .has-border.default {
    background-color: #fff;
    color: #2196f3;
    border: 1px solid #2196f3;
  }

  .has-border.normal {
    background-color: #fff;
    color: #8C8C8C;
    border: 1px solid #8C8C8C;
  }

  .has-border.success {
    background-color: #fff;
    color: #389D2B;
    border: 1px solid #389D2B;
  }

  .lan-fileName {
    color: #0080cb;
  }

  .mu-lan-form {
    width: 100%;
    background-color: #fff;
    .mu-form-item:not(.inline-item) {
      margin: 0;
      padding: 0 14px;
      align-items: center;
      box-shadow: 0px 1px 0px 0px rgba(224, 224, 224, 1);
      min-height: 0.55rem;
      .mu-form-item-label {
        font-size: 0.15rem;
        color: #3d3d3d;
        line-height: 0.55rem;
      }
      .mu-form-item-content {
        font-size: 0.15rem;
        color: #b1b1b1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .mu-input {
          flex: 1;
          padding: 5px;
          .mu-input-content {
            .mu-select-action {
              display: none;
            }
          }
        }
        .iconfont {
          font-size: 0.15rem;
          color: #dbdbdb;
          margin: 0;
        }
        .mu-text-field-input,
        .mu-select-input {
          font-size: 0.15rem;
          text-align: right;
          color: #b1b1b1;
          line-height: 0.30rem;
        }
        input::placeholder {
          color: #666 !important;
          font-size: 0.15rem;
        }
        .mu-input-line,
        .mu-input-focus-line {
          display: none;
        }
      }
    }
    //inline-block
    .inline-item {
      margin: 0;
      padding: 0 14px;
      flex-direction: column;
      box-shadow: 0px 1px 0px 0px rgba(224, 224, 224, 1);
      .mu-form-item-label {
        font-size: 0.15rem;
        color: #3d3d3d;
        line-height: 0.55rem;
      }
      .mu-input-line,
      .mu-input-focus-line {
        display: none;
      }
      .mu-text-field-input {
        font-size: 0.15rem;
        text-align: left;
        color: #b1b1b1;
        line-height: 0.30rem;
      }
    }
    //form-between
    .form-between {
      .mu-form-item-content {
        font-size: 0.15rem;
        color: #b1b1b1;
        display: flex;
        justify-content: flex-end !important;
        align-items: center;
        overflow-x: hidden;

      }
    }
    .form-between.lan-mu-radio {
      .mu-form-item-content {
        > div {
          margin-top: 0 !important;
        }
        .mu-radio-wrapper {
          .mu-radio-label {
            font-size: 0.15rem;
            color: #b1b1b1;
          }
          .mu-radio-icon {
            .mu-radio-ripple-wrapper {
              height: 30px;
              width: 30px;
              top: -3px;
              left: -3px
            }
          }
        }
      }

    }
    .column-item {
      .mu-form-item-label {
        display: none;
      }
      .mu-form-item-content {
        flex-direction: column;
      }
    }
    .form-submit {
      box-shadow: none !important;
      box-sizing: border-box;
      .mu-form-item-label {
        display: none;
      }
      .mu-form-item-content {
        padding: 0.05rem 0.1rem;
        .mu-button {
          margin: 0 !important;
        }
      }

    }
    .form-right-text {
      min-width: 0.5rem;
      margin-right: 0.02rem;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: calc(100% - 0.2rem);
    }
  }

  .list-checkbox {
    padding: 0 !important;
    width: 100%;
    .mu-checkbox-label {
      flex: 1;
      font-size: 0.15rem;
    }
  }

  .list-save-btn {
    width: 100%;
    padding: 0.10rem 0.15rem;
    background-color: #fff;
  }

  .lan-tabs {
    background-color: #fff;
    box-shadow: 0px 2px 4px 0px rgba(238, 238, 238, 0.5);
    margin-bottom: 1px;
    padding: 0 0.15rem;
    .mu-tab-wrapper {
      font-size: 0.17rem;
    }
    .mu-tab-link-highlight {
      height: 0.04rem;
      width: 0.27rem;
    }
  }

  .bg-default {
    background-color: #F8F8F8 !important;
  }

  .bg-normal {
    background-color: #fff !important;
  }
  .pswp--open{
    z-index:10000000000;
  }
</style>
